<?php

if (!defined('BASEPATH'))
    exit('No direct script access allowed');

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of listing_model
 * 
 * @author Joydeb Choudhury(mcajoydeb@gmail.com)
 */
class payment_gateway_model extends CI_Model {

    //put your code here
    function __construct() {
        parent::__construct();
        log_message('debug', 'Model Initialized');
    }

    function get_payment_gateway($id) {

        $sql = "select * from payment_gateway where id=$id";
        $query = $this->db->query($sql);
        $result = $query->row();
        return $result;
    }

}

?>
